package com.iris.live.services.common;/**
 * Created by Tony.Zhang on 2017/1/8.
 */

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @author: Tony.Zhang
 * @Date: 2017-01-08 16:22
 **/
public class RunTrack {
    private List<String> msgs = new ArrayList<>();

    public RunTrack() {
    }

    public void add(String msg){
        msgs.add(msg);
    }

    public List<String> getMsgs(){
        return msgs;
    }

    public static void main(String[] args){
        RunTrack track = new RunTrack();
        track.add("1");
        track.add("2");
        track.add("3");

        System.out.println(JsonObjectUtils.writeAsJson(track));
    }
}
